package com.sc.design.resposibilitychain;

/**
 * @author sc
 * Created on  2017/12/6
 */
public class Father extends Handler {
    Father(){
        super(Handler.FATHER);
    }

    @Override
    protected void response(IWomen women) {
        System.out.println("女儿向父亲请示");
        System.out.println(women.getRequet());
        System.out.println("父亲同意");
    }
}
